/* Copyright 2018 JDCLOUD.COM

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http:#www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Iotlink-Related-API
物联网卡服务相关API

OpenAPI spec version: v1
Contact: 

NOTE: This class is auto generated by the jdcloud code generator program.
*/


#ifndef IotlinkApiModel_h
#define IotlinkApiModel_h
#import <JDCloudOCSDKCore/JDCloudOCSDKCore.h>
#import <JDCloudOCSDKIotlink/IotlinkModel.h>


@interface IotlinkOpenIotFlowRequest:JDCloudRequest

/// 物联网卡号码列表(单次提交最多不超过200个号码)
@property (strong,nonatomic,nonnull)  NSArray<NSString*>*  iccids;
-(id) initWithRegion:(NSString *)regionId
iccids:(NSArray<NSString*>*)iccids;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
iccids:(NSArray<NSString*>*)iccids;

@end

@interface IotlinkOnOffStatusRequest:JDCloudRequest

/// 物联网卡iccid
@property (strong,nonatomic,nonnull)  NSString*  iccid;
-(id) initWithRegion:(NSString *)regionId
iccid:(NSString*)iccid;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
iccid:(NSString*)iccid;

@end

@interface IotlinkCloseIotCardRequest:JDCloudRequest

/// 物联网卡号码列表(单次提交最多不超过200个号码)
@property (strong,nonatomic,nonnull)  NSArray<NSString*>*  iccids;
-(id) initWithRegion:(NSString *)regionId
iccids:(NSArray<NSString*>*)iccids;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
iccids:(NSArray<NSString*>*)iccids;

@end

@interface IotlinkOpenIotCardRequest:JDCloudRequest

/// 物联网卡号码列表(单次提交最多不超过200个号码)
@property (strong,nonatomic,nonnull)  NSArray<NSString*>*  iccids;
-(id) initWithRegion:(NSString *)regionId
iccids:(NSArray<NSString*>*)iccids;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
iccids:(NSArray<NSString*>*)iccids;

@end

@interface IotlinkLifeStatusRequest:JDCloudRequest

/// 物联网卡iccid
@property (strong,nonatomic,nonnull)  NSString*  iccid;
-(id) initWithRegion:(NSString *)regionId
iccid:(NSString*)iccid;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
iccid:(NSString*)iccid;

@end

@interface IotlinkCloseIotFlowRequest:JDCloudRequest

/// 物联网卡号码列表(单次提交最多不超过200个号码)
@property (strong,nonatomic,nonnull)  NSArray<NSString*>*  iccids;
-(id) initWithRegion:(NSString *)regionId
iccids:(NSArray<NSString*>*)iccids;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
iccids:(NSArray<NSString*>*)iccids;

@end

@interface IotlinkGprsRealtimeInfoRequest:JDCloudRequest

/// 物联网卡iccid
@property (strong,nonatomic,nonnull)  NSString*  iccid;
-(id) initWithRegion:(NSString *)regionId
iccid:(NSString*)iccid;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
iccid:(NSString*)iccid;

@end

@interface IotlinkGprsStatusRequest:JDCloudRequest

/// 物联网卡iccid
@property (strong,nonatomic,nonnull)  NSString*  iccid;
-(id) initWithRegion:(NSString *)regionId
iccid:(NSString*)iccid;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
iccid:(NSString*)iccid;

@end

@interface IotlinkCloseIotCardResult : NSObject
/// 请求状态(0:成功;1:失败)
 @property (strong,nonatomic,nonnull)  NSString*  status;
/// 消息描述
 @property (strong,nonatomic,nonnull)  NSString*  message;
/// Result
 @property (strong,nonatomic,nonnull)  NSArray<OperationIotlinkResp*>*  result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithStatus:(NSString*) status

    message:(NSString*)message

    result:(NSArray<OperationIotlinkResp*>*)result;
@end

@interface IotlinkCloseIotCardResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property IotlinkCloseIotCardResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(IotlinkCloseIotCardResult*) result;
@end

@interface IotlinkCloseIotFlowResult : NSObject
/// 请求状态(0:成功;1:失败)
 @property (strong,nonatomic,nonnull)  NSString*  status;
/// 消息描述
 @property (strong,nonatomic,nonnull)  NSString*  message;
/// Result
 @property (strong,nonatomic,nonnull)  NSArray<OperationIotlinkResp*>*  result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithStatus:(NSString*) status

    message:(NSString*)message

    result:(NSArray<OperationIotlinkResp*>*)result;
@end

@interface IotlinkCloseIotFlowResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property IotlinkCloseIotFlowResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(IotlinkCloseIotFlowResult*) result;
@end

@interface IotlinkOpenIotCardResult : NSObject
/// 请求状态(0:成功;1:失败)
 @property (strong,nonatomic,nonnull)  NSString*  status;
/// 消息描述
 @property (strong,nonatomic,nonnull)  NSString*  message;
/// Result
 @property (strong,nonatomic,nonnull)  NSArray<OperationIotlinkResp*>*  result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithStatus:(NSString*) status

    message:(NSString*)message

    result:(NSArray<OperationIotlinkResp*>*)result;
@end

@interface IotlinkGprsRealtimeInfoResult : NSObject
/// 请求状态(0:成功;1:失败)
 @property (strong,nonatomic,nonnull)  NSString*  status;
/// 消息描述
 @property (strong,nonatomic,nonnull)  NSString*  message;
/// 指定物联网卡的当月套餐内的GPRS实时使用量
 @property (strong,nonatomic,nonnull)  GprsRealtimeInfoResp*  result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithStatus:(NSString*) status

    message:(NSString*)message

    result:(GprsRealtimeInfoResp*)result;
@end

@interface IotlinkLifeStatusResult : NSObject
/// 请求状态(0:成功;1:失败)
 @property (strong,nonatomic,nonnull)  NSString*  status;
/// 消息描述
 @property (strong,nonatomic,nonnull)  NSString*  message;
/// 指定物联网卡的生命周期信息
 @property (strong,nonatomic,nonnull)  LifeStatusResp*  result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithStatus:(NSString*) status

    message:(NSString*)message

    result:(LifeStatusResp*)result;
@end

@interface IotlinkLifeStatusResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property IotlinkLifeStatusResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(IotlinkLifeStatusResult*) result;
@end

@interface IotlinkGprsStatusResult : NSObject
/// 请求状态(0:成功;1:失败)
 @property (strong,nonatomic,nonnull)  NSString*  status;
/// 消息描述
 @property (strong,nonatomic,nonnull)  NSString*  message;
/// 指定物联网卡的gprs状态信息
 @property (strong,nonatomic,nonnull)  GprsStatusResp*  result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithStatus:(NSString*) status

    message:(NSString*)message

    result:(GprsStatusResp*)result;
@end

@interface IotlinkGprsStatusResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property IotlinkGprsStatusResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(IotlinkGprsStatusResult*) result;
@end

@interface IotlinkOnOffStatusResult : NSObject
/// 请求状态(0:成功;1:失败)
 @property (strong,nonatomic,nonnull)  NSString*  status;
/// 消息描述
 @property (strong,nonatomic,nonnull)  NSString*  message;
/// 指定物联网卡的开关机状态信息
 @property (strong,nonatomic,nonnull)  OnOffStatusResp*  result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithStatus:(NSString*) status

    message:(NSString*)message

    result:(OnOffStatusResp*)result;
@end

@interface IotlinkOnOffStatusResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property IotlinkOnOffStatusResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(IotlinkOnOffStatusResult*) result;
@end

@interface IotlinkGprsRealtimeInfoResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property IotlinkGprsRealtimeInfoResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(IotlinkGprsRealtimeInfoResult*) result;
@end

@interface IotlinkOpenIotCardResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property IotlinkOpenIotCardResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(IotlinkOpenIotCardResult*) result;
@end

@interface IotlinkOpenIotFlowResult : NSObject
/// 请求状态(0:成功;1:失败)
 @property (strong,nonatomic,nonnull)  NSString*  status;
/// 消息描述
 @property (strong,nonatomic,nonnull)  NSString*  message;
/// Result
 @property (strong,nonatomic,nonnull)  NSArray<OperationIotlinkResp*>*  result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithStatus:(NSString*) status

    message:(NSString*)message

    result:(NSArray<OperationIotlinkResp*>*)result;
@end

@interface IotlinkOpenIotFlowResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property IotlinkOpenIotFlowResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(IotlinkOpenIotFlowResult*) result;
@end

#endif /* IotlinkApiModel_h */
